<template>
	<div id="newsCnt">
		
		<ul>
			<li v-for="item in list" v-html='item.content'></li>
		</ul>
	</div>
</template>
<script>
	export default{
		data(){
			return {
				list:[]
			}
		},
		methods:{
			
			requsetData(){
				var num=this.$route.params.aid;
				var api='http://www.phonegap100.com/appapi.php?a=getPortalArticle&aid='+num;
				this.$http.get(api).then((response)=>{
					this.list=response.body.result;
				},(err)=>{
					console.log(error);
				});
			}
		},mounted(){
			this.requsetData();
			
			
		}
	}
</script>